package com.neuedu.service;

import com.neuedu.mapper.ClueTableMapper;
import com.neuedu.pojo.ClueTable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.pojo.Result;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @author Administrator
* @description 针对表【clue_table(线索信息表)】的数据库操作Service
* @createDate 2025-06-17 09:04:08
*/
public interface ClueTableService extends IService<ClueTable> {
    Result<Void>addClueTable(ClueTable clueTable);
    Result<List<ClueTable>> getClueTables(Integer currentPage, Integer pageSize,Integer responsibleCadreid);
    Result<Void>deleteClueTable(Integer id);
    Result<Void>updateClueTable(ClueTable clueTable);
    Result<Void>updateHelpGuidance(Integer clueId,String helpGuidance);
    Result<List<ClueTable>>getClueTablesByProvince(Integer currentPage,Integer pageSize,String province);
    Result<Void>assignClueTable(Integer clueId,Integer cadreId);

    Result<List<ClueTable>>getClueTablesByArea(Integer currentPage, Integer pageSize, String belongArea);

    Result<Void> updateCurrentStage(Integer clueId, String currentStage);
}
